package com.caolei1992.web.constant;

/**
 * 通用常量信息
 *
 * @author caolei
 * @version 1.0
 * @since 2019/11/13
 */
public class Constants {

    /**
     * 临时文件夹
     */
    public static final String TMP_DIR = "/tmp";

    /**
     * 默认字符类型
     */
    public static final String DEF_CHARSET = "UTF-8";


    /**
     * admin 接口组
     */
    public static final String ADMIN_DOC = "admin";

    /**
     * jwt secret
     */
    public static final String JWT_SECRET = "fa4904a814ce0b4be446c62cd0c6619f";

    /**
     * 默认分隔符
     */
    public static final String DEF_SPLIT = ",";


    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";


}
